package com.zshlong.seckill.exception;


import com.zshlong.seckill.vo.CodeMsg;

public class GlobalException extends RuntimeException{

	private static final long serialVersionUID = 1L;
	private CodeMsg cm;


	public GlobalException(CodeMsg cm) {

		super(cm.toString());
		this.cm = cm;
	}

	public CodeMsg getCm() {
		return cm;
	}

}
